<form id="statusFrom">
    <input id="car_status" name="car_status" type="hidden" value="{$car_status}" >
</form>
<div class="yuList">
    <table class="table table-bordered">
        <thead>
            <tr class="clearfix">
                <td>车辆编号</td>
                <td>车型</td>
                <td>级别</td>
                <td>销售价</td>
                <td>成交价格</td>
                <td>标签</td>
                <td>状态</td>
                <td>操作</td>
            </tr>
        </thead>
        <tbody>
        <php>$car_status_array=array('1'=>'待上架','2'=>'销售中','3'=>'销售成功','4'=>'销售失败')</php>
        <volist name="list" id="list" key="k">
            <tr class="listBg clearfix">
                <td>{$list.car_no}</td>
                <td>
                    <a href="/Car/report/car_id/{$list.car_id}" target="_blank" class="cheText">{$list.model}</a>
                </td>
                <td>{$list.composite_level}</td>
                <td>{$list.reserve_price}元</td>
                <td>
            <if condition="$list.car_success_price gt '0'">
                {$list.car_success_price}
                <else />
                未知
            </if>
            </td>
            <td>
            <if condition="$list.car_marks eq ''">
                未知
                <else />
                {$list.car_marks}
            </if>
            </td>
            <td>{$car_status_array[$car_status]}</td>
            <td>
            <if condition="$list.car_status eq 1">
                <a href="/CarShow/up/car_id/{$list.car_id}/sid/{$list.sale_id}/p/{$p}">上架</a>
                <elseif condition="$list.car_status eq 2"/>
                <a href="/CarShow/down/car_id/{$list.car_id}/sid/{$list.sale_id}/p/{$p}">下架</a>
                <else />
                <a href="/CarShow/check/car_id/{$list.car_id}/sid/{$list.sale_id}/p/{$p}">查看</a>
            </if>
            </tr>
        </volist>
        </tbody>
    </table>
    <div class="pageFaye"><div class="pager">{$page}</div><div class="clear"></div></div>
</div>